WINDOW_WIDTH = 560
MODE_SELECTOR_HEIGHT = 50
CONTROLS_FRAME_HEIGHT = 100
KEYBOARD_HEIGHT = 160
SCORE_DISPLAY_HEIGHT = 110
WINDOW_HEIGHT = KEYBOARD_HEIGHT + CONTROLS_FRAME_HEIGHT + \
                MODE_SELECTOR_HEIGHT  + SCORE_DISPLAY_HEIGHT

CHOICES = ['Scales','Chords','Chord Progressions']

WHITE_KEY_IMAGE = '../pictures/white_key.gif'
WHITE_KEY_PRESSED_IMAGE = '../pictures/white_key_pressed.gif'
BLACK_KEY_IMAGE = '../pictures/black_key.gif'
BLACK_KEY_PRESSED_IMAGE = '../pictures/black_key_pressed.gif'

ALL_KEYS = ['C1','C#1','D1','D#1','E1','F1','F#1','G1','G#1','A1', \
            'A#1','B1', 'C2','C#2','D2','D#2','E2','F2','F#2','G2',\
            'G#2','A2','A#2','B2']
KEYS = ['C','C#','D','D#','E','F','F#','G','G#','A','A#','B']

WHITE_KEY_NAMES = ['C1','D1', 'E1', 'F1', 'G1','A1', 'B1', \
                  'C2','D2', 'E2', 'F2', 'G2','A2', 'B2']

BLACK_KEY_NAMES = ['C#1', 'D#1', 'F#1', 'G#1', 'A#1', 'C#2', 'D#2', \
                                      'F#2', 'G#2', 'A#2']

WHITE_KEY_X_COORDINATES = [0,40, 80,120, 160, 200, 240,280, 320, 360, \
                                                    400, 440, 480,520]
BLACK_KEY_X_COORDINATES = [30,70,150,190, 230, 310, 350, 430,470, 510]

SCALES_JSON_FILE = '../json/scales.json'
CHORDS_JSON_FILE = '../json/chords.json'
PROGRESSIONS_JSON_FILE = '../json/progressions.json'

ROMAN_TO_NUMBER = { 'I':0, 'II': 2, 'III':4, 'IV':5, 'V': 7, 'VI':9, 'VII': 11,
'i':0, 'ii': 2, 'iii':4, 'iv':5, 'v': 7, 'vi':9, 'vii': 11
}	
